PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / 2009 4th of July with AdamFX n Martin - into the fireworks ft Armandio C A.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.312 |
| 26 | fWaveScale=1.229 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.200 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=3.300 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=0.700 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=189 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_frame1=ofs = 0; |
| 89 | wave_0_per_frame2= |
| 90 | wave_0_per_frame3=t1 = 2*sin(time/15-ofs); |
| 91 | wave_0_per_frame4=t2 = 2*sin(time/11-ofs); |
| 92 | wave_0_per_frame5=t3 = 2*sin(time/19-ofs); |
| 93 | wave_0_per_frame6=monitor = time; |
| 94 | wave_0_per_point1= |
| 95 | wave_0_per_point2=mul = 10; |
| 96 | wave_0_per_point3=t_abs = (sample)*mul; |
| 97 | wave_0_per_point4=ampl = 2; |
| 98 | wave_0_per_point5= |
| 99 | wave_0_per_point6=ox = ampl*sin (t_abs*68); |
| 100 | wave_0_per_point7=oy = ampl*cos (t_abs*28); |
| 101 | wave_0_per_point8=oz = 2+ampl*cos (t_abs*128); |
| 102 | wave_0_per_point9= |
| 103 | wave_0_per_point10= |
| 104 | wave_0_per_point11=r = min(sin(t_abs*335)+1,1); |
| 105 | wave_0_per_point12=g = min(sin(t_abs*783)+1,1) ; |
| 106 | wave_0_per_point13=b = min(sin(t_abs*456)+1,1); |
| 107 | wave_0_per_point14= |
| 108 | wave_0_per_point15=a=.5 + .02*(int(rand(10))-5); |
| 109 | wave_0_per_point16= |
| 110 | wave_0_per_point17=xang = t1; |
| 111 | wave_0_per_point18=yang = t2; |
| 112 | wave_0_per_point19=zang = t3; |
| 113 | wave_0_per_point20=fov = 0.12; |
| 114 | wave_0_per_point21= |
| 115 | wave_0_per_point22= |
| 116 | wave_0_per_point23=// Rotation um x,y,z |
| 117 | wave_0_per_point24= |
| 118 | wave_0_per_point25=mx = ox*cos(zang) - oy*sin(zang); |
| 119 | wave_0_per_point26=my = ox*sin(zang) + oy*cos(zang); |
| 120 | wave_0_per_point27= |
| 121 | wave_0_per_point28=ox = mx; |
| 122 | wave_0_per_point29=oy = my; |
| 123 | wave_0_per_point30=mx = ox*cos(yang) + oz*sin(yang); |
| 124 | wave_0_per_point31=mz = - ox*sin(yang) + oz*cos(yang); |
| 125 | wave_0_per_point32=ox = mx; |
| 126 | wave_0_per_point33=oz = mz; |
| 127 | wave_0_per_point34=my = oy*cos(xang) - oz*sin(xang); |
| 128 | wave_0_per_point35=mz = oy*sin(xang) + oz*cos(xang); |
| 129 | wave_0_per_point36=oy = my; |
| 130 | wave_0_per_point37=oz = mz; |
| 131 | wave_0_per_point38= |
| 132 | wave_0_per_point39=x = ox*fov/oz +0.5; |
| 133 | wave_0_per_point40=//x = (x-.5)*0.75 + 0.5; |
| 134 | wave_0_per_point41=y = oy*fov/oz + 0.5; |
| 135 | wavecode_1_enabled=0 |
| 136 | wavecode_1_samples=189 |
| 137 | wavecode_1_sep=0 |
| 138 | wavecode_1_bSpectrum=0 |
| 139 | wavecode_1_bUseDots=1 |
| 140 | wavecode_1_bDrawThick=0 |
| 141 | wavecode_1_bAdditive=1 |
| 142 | wavecode_1_scaling=0.89152 |
| 143 | wavecode_1_smoothing=0.82000 |
| 144 | wavecode_1_r=1.000 |
| 145 | wavecode_1_g=1.000 |
| 146 | wavecode_1_b=1.000 |
| 147 | wavecode_1_a=0.100 |
| 148 | wave_1_per_frame1=t1 = 2*sin(time/15); |
| 149 | wave_1_per_frame2=t2 = 2*sin(time/11); |
| 150 | wave_1_per_frame3=t3 = 2*sin(time/19); |
| 151 | wave_1_per_frame4=monitor = time; |
| 152 | wavecode_2_enabled=0 |
| 153 | wavecode_2_samples=512 |
| 154 | wavecode_2_sep=0 |
| 155 | wavecode_2_bSpectrum=0 |
| 156 | wavecode_2_bUseDots=0 |
| 157 | wavecode_2_bDrawThick=1 |
| 158 | wavecode_2_bAdditive=0 |
| 159 | wavecode_2_scaling=0.89152 |
| 160 | wavecode_2_smoothing=0.82000 |
| 161 | wavecode_2_r=1.000 |
| 162 | wavecode_2_g=1.000 |
| 163 | wavecode_2_b=1.000 |
| 164 | wavecode_2_a=0.100 |
| 165 | wavecode_3_enabled=0 |
| 166 | wavecode_3_samples=512 |
| 167 | wavecode_3_sep=0 |
| 168 | wavecode_3_bSpectrum=1 |
| 169 | wavecode_3_bUseDots=1 |
| 170 | wavecode_3_bDrawThick=0 |
| 171 | wavecode_3_bAdditive=0 |
| 172 | wavecode_3_scaling=1.00000 |
| 173 | wavecode_3_smoothing=0.50000 |
| 174 | wavecode_3_r=1.000 |
| 175 | wavecode_3_g=1.000 |
| 176 | wavecode_3_b=1.000 |
| 177 | wavecode_3_a=1.000 |
| 178 | shapecode_0_enabled=0 |
| 179 | shapecode_0_sides=4 |
| 180 | shapecode_0_additive=0 |
| 181 | shapecode_0_thickOutline=1 |
| 182 | shapecode_0_textured=1 |
| 183 | shapecode_0_num_inst=1 |
| 184 | shapecode_0_x=0.500 |
| 185 | shapecode_0_y=0.500 |
| 186 | shapecode_0_rad=1.85483 |
| 187 | shapecode_0_ang=1.57080 |
| 188 | shapecode_0_tex_ang=0.00000 |
| 189 | shapecode_0_tex_zoom=0.53907 |
| 190 | shapecode_0_r=1.000 |
| 191 | shapecode_0_g=0.940 |
| 192 | shapecode_0_b=0.890 |
| 193 | shapecode_0_a=1.000 |
| 194 | shapecode_0_r2=0.840 |
| 195 | shapecode_0_g2=0.930 |
| 196 | shapecode_0_b2=1.000 |
| 197 | shapecode_0_a2=1.000 |
| 198 | shapecode_0_border_r=1.000 |
| 199 | shapecode_0_border_g=1.000 |
| 200 | shapecode_0_border_b=0.000 |
| 201 | shapecode_0_border_a=0.000 |
| 202 | shape_0_per_frame1=x = .4998; |
| 203 | shape_0_per_frame2=y = .5002; |
| 204 | shape_0_per_frame3= |
| 205 | shape_0_per_frame4=ti = time*.3; |
| 206 | shape_0_per_frame5=r = .925 + .05*sin(ti*1.721); |
| 207 | shape_0_per_frame6=g = .925 + .05*sin(ti*1.838); |
| 208 | shape_0_per_frame7=b = .925 + .05*sin(ti*1.968); |
| 209 | shape_0_per_frame8= |
| 210 | shape_0_per_frame9=r2 = 1.875 - r; |
| 211 | shape_0_per_frame10=g2 = 1.875 - g; |
| 212 | shape_0_per_frame11=b2 = 1.875 - b; |
| 213 | shape_0_per_frame12= |
| 214 | shapecode_1_enabled=0 |
| 215 | shapecode_1_sides=63 |
| 216 | shapecode_1_additive=0 |
| 217 | shapecode_1_thickOutline=0 |
| 218 | shapecode_1_textured=1 |
| 219 | shapecode_1_num_inst=1 |
| 220 | shapecode_1_x=0.500 |
| 221 | shapecode_1_y=0.500 |
| 222 | shapecode_1_rad=1.99863 |
| 223 | shapecode_1_ang=0.00000 |
| 224 | shapecode_1_tex_ang=0.00000 |
| 225 | shapecode_1_tex_zoom=0.49981 |
| 226 | shapecode_1_r=1.000 |
| 227 | shapecode_1_g=1.000 |
| 228 | shapecode_1_b=1.000 |
| 229 | shapecode_1_a=0.100 |
| 230 | shapecode_1_r2=1.000 |
| 231 | shapecode_1_g2=1.000 |
| 232 | shapecode_1_b2=1.000 |
| 233 | shapecode_1_a2=0.600 |
| 234 | shapecode_1_border_r=0.500 |
| 235 | shapecode_1_border_g=0.500 |
| 236 | shapecode_1_border_b=0.500 |
| 237 | shapecode_1_border_a=0.000 |
| 238 | shapecode_2_enabled=0 |
| 239 | shapecode_2_sides=63 |
| 240 | shapecode_2_additive=0 |
| 241 | shapecode_2_thickOutline=0 |
| 242 | shapecode_2_textured=1 |
| 243 | shapecode_2_num_inst=1 |
| 244 | shapecode_2_x=0.123 |
| 245 | shapecode_2_y=0.000 |
| 246 | shapecode_2_rad=0.27319 |
| 247 | shapecode_2_ang=0.00000 |
| 248 | shapecode_2_tex_ang=0.00000 |
| 249 | shapecode_2_tex_zoom=0.49981 |
| 250 | shapecode_2_r=1.000 |
| 251 | shapecode_2_g=1.000 |
| 252 | shapecode_2_b=1.000 |
| 253 | shapecode_2_a=1.000 |
| 254 | shapecode_2_r2=1.000 |
| 255 | shapecode_2_g2=1.000 |
| 256 | shapecode_2_b2=1.000 |
| 257 | shapecode_2_a2=0.000 |
| 258 | shapecode_2_border_r=0.500 |
| 259 | shapecode_2_border_g=0.500 |
| 260 | shapecode_2_border_b=0.500 |
| 261 | shapecode_2_border_a=0.000 |
| 262 | shapecode_3_enabled=0 |
| 263 | shapecode_3_sides=63 |
| 264 | shapecode_3_additive=0 |
| 265 | shapecode_3_thickOutline=0 |
| 266 | shapecode_3_textured=1 |
| 267 | shapecode_3_num_inst=1 |
| 268 | shapecode_3_x=0.500 |
| 269 | shapecode_3_y=1.000 |
| 270 | shapecode_3_rad=0.54822 |
| 271 | shapecode_3_ang=0.00000 |
| 272 | shapecode_3_tex_ang=0.00000 |
| 273 | shapecode_3_tex_zoom=0.49981 |
| 274 | shapecode_3_r=1.000 |
| 275 | shapecode_3_g=1.000 |
| 276 | shapecode_3_b=1.000 |
| 277 | shapecode_3_a=1.000 |
| 278 | shapecode_3_r2=1.000 |
| 279 | shapecode_3_g2=1.000 |
| 280 | shapecode_3_b2=1.000 |
| 281 | shapecode_3_a2=0.000 |
| 282 | shapecode_3_border_r=0.500 |
| 283 | shapecode_3_border_g=0.500 |
| 284 | shapecode_3_border_b=0.500 |
| 285 | shapecode_3_border_a=0.000 |
| 286 | per_frame_1=wave_a = 0; |
| 287 | per_frame_2= |
| 288 | per_frame_3= |
| 289 | per_frame_4= |
| 290 | per_frame_5=//Thanks to Zylot for rainbow generator |
| 291 | per_frame_6=counter1 = if(equal(counter2,1),if(equal(counter1,1),0,counter1+.2),1); |
| 292 | per_frame_7=counter2 = if(equal(counter1,1),if(equal(counter2,1),0,counter2+.2),1); |
| 293 | per_frame_8=cdelay1 = if(equal(cdelay2,1),1,if(equal(colorcounter%2,1),if(equal(counter1,1),2 ,0), if(equal(counter2,1),2,0))); |
| 294 | per_frame_9=cdelay2 = if(equal(cdelay1,2),1,0); |
| 295 | per_frame_10=colorcounter = if(above(colorcounter,7),0,if(equal(cdelay1,1),colorcounter+1,colorcounter)); |
| 296 | per_frame_11=ib_r = .5*if(equal(colorcounter,1),1, if(equal(colorcounter,2),1, if(equal(colorcounter,3),1, if(equal(colorcounter,4),sin(counter2+2.1), if(equal(colorcounter,5),0, if(equal(colorcounter,6),0,sin(counter1))))))); |
| 297 | per_frame_12=ib_g = .5*if(equal(colorcounter,1),0, if(equal(colorcounter,2),sin(counter2*.5), if(equal(colorcounter,3),sin((counter1+1.75)*.4), if(equal(colorcounter,4),1, if(equal(colorcounter,5),1, if(equal(colorcounter,6),sin(counter2+2),0)))))); |
| 298 | per_frame_13=ib_b = if(equal(colorcounter,1),sin(counter1+2.1), if(equal(colorcounter,2),0, if(equal(colorcounter,3),0, if(equal(colorcounter,4),0, if(equal(colorcounter,5),sin(counter1), if(equal(colorcounter,6),1,1)))))); |
| 299 | per_frame_14= |
| 300 | per_frame_15= |
| 301 | per_frame_16= |
| 302 | per_frame_17=ob_r=ib_r-0.5; |
| 303 | per_frame_18=ob_g=ib_g-0.5; |
| 304 | per_frame_19=ob_b=ib_b-0.5; |
| 305 | per_frame_20=q1=ib_r; |
| 306 | per_frame_21=q2=ib_g; |
| 307 | per_frame_22=q3=ib_b; |
| 308 | per_frame_23= |
| 309 | per_frame_24= |
| 310 | per_frame_25= |
| 311 | per_frame_26=decay =1; |
| 312 | per_frame_27= |
| 313 | per_frame_28= |
| 314 | per_frame_29=//echo_orient=((bass_att+mid_att+treb_att)/3)*3; |
| 315 | per_frame_30=//solarize=above(0.5,bass); |
| 316 | per_frame_31=//darken=above(0.4,treb); |
| 317 | per_frame_32= |
| 318 | per_frame_33=musictime=musictime+(mid*mid*mid)*0.02*(75/fps); |
| 319 | per_frame_34= |
| 320 | per_frame_35=xpos=cos(musictime*0.6)*0.6; |
| 321 | per_frame_36=ypos=sin(musictime*0.4)*0.6; |
| 322 | per_frame_37=q4=xpos; |
| 323 | per_frame_38=q5=ypos |
| 324 | per_frame_39= |
| 325 | per_pixel_1=//flip= (-2 * above(sin(time),-0.9) )+1; |
| 326 | per_pixel_2=//var=(bass+mid+treb)/3; |
| 327 | per_pixel_3=//rot=((ang&rad/rad)/(var*20))/10; |
| 328 | per_pixel_4=//sx=.99-(var*0.01); |
| 329 | per_pixel_5=//cx=var*0.1*(ang/12); |
| 330 | per_pixel_6=//sy=sx; |
| 331 | per_pixel_7= |
| 332 | per_pixel_8=//zoom=-1; |
| 333 | per_pixel_9=sx=-1+(bass*0.2); |
| 334 | per_pixel_10=sy=-1-(treb*0.2); |
| 335 | per_pixel_11= |
| 336 | per_pixel_12=cx=0.5+q4; |
| 337 | per_pixel_13=cy=0.5-q5; |
| 338 | per_pixel_14=rd=sqrt( sqr( (x-0.5-q4)*2) + sqr( (y-0.5+q5)*1.5 ) ); |
| 339 | per_pixel_15=//zm=(1.1-(rd/4)); |
| 340 | per_pixel_16=zm=1; |
| 341 | per_pixel_17= |
| 342 | per_pixel_18=ag=atan( (y-0.5+q5)/(x-0.5-q4) ); |
| 343 | per_pixel_19=star=sin(ag*6+time)*((2-rd)-ag)/5; |
| 344 | per_pixel_20=zm=zm+star/20; |
| 345 | per_pixel_21=sx=zm*rd; |
| 346 | per_pixel_22=sy=zm*rd; |
| 347 | per_pixel_23=//rot=above(rd,0.7)*(rd-0.7)*sin(time*0.3) |
| 348 | warp_1=`sampler sampler_pw_noise_lq; |
| 349 | warp_2=`sampler sampler_shub1; |
| 350 | warp_3=`shader_body { |
| 351 | warp_4=`ret = GetPixel(uv)*.9 ; |
| 352 | warp_5=`} |
| 353 | comp_1=`sampler sampler_pw_noise_lq; |
| 354 | comp_2=`float3 ret1, neu, neu2; |
| 355 | comp_3=`float2 uv0, uv1, uv2, uv3, uv4; |
| 356 | comp_4=`float m,n; |
| 357 | comp_5=`shader_body |
| 358 | comp_6=`{ |
| 359 | comp_7=`float2 uv2; |
| 360 | comp_8=`float ang2, c, s; |
| 361 | comp_9=`uv0 = uv; |
| 362 | comp_10=`uv -= 0.5; |
| 363 | comp_11=`uv *= aspect.xy; |
| 364 | comp_12=` |
| 365 | comp_13=`float dist = 1; |
| 366 | comp_14=`float inten = 1; |
| 367 | comp_15=`float maskn = 1; float maskp = 0; |
| 368 | comp_16=`ret1 = 0; |
| 369 | comp_17=`int anz = 4; |
| 370 | comp_18=`n = 1; |
| 371 | comp_19=` |
| 372 | comp_20=`uv = mul(uv,float2x2(_qa)); |
| 373 | comp_21=` |
| 374 | comp_22=`float t_rel = q10; |
| 375 | comp_23=`while (n <= anz) { |
| 376 | comp_24=` m = n-int(t_rel); |
| 377 | comp_25=` |
| 378 | comp_26=` dist = frac(1-n*1.0/anz+frac(-t_rel)/anz); //evtl sqrt ! |
| 379 | comp_27=` inten = 4*(1-dist)*pow(dist,.2); |
| 380 | comp_28=` uv2 = frac(3*uv*dist +m*.35 + q7*dist*dist); |
| 381 | comp_29=` neu = GetPixel (uv2) + GetBlur1(uv2); |
| 382 | comp_30=` maskn = 1-pow(dist,.1)*saturate(8*neu); |
| 383 | comp_31=` |
| 384 | comp_32=` ret1 = ret1*maskn + neu*inten*.7; |
| 385 | comp_33=`n++; |
| 386 | comp_34=`} |
| 387 | comp_35=` |
| 388 | comp_36=` |
| 389 | comp_37=`float flash = saturate(.01*(q21-2)/length(sin(float2(q15,q16) + 2*uv+.2*rand_frame))); |
| 390 | comp_38=` |
| 391 | comp_39=`float smoke = lum(ret1)*(1-lum(ret1))*4; |
| 392 | comp_40=`ret = pow(ret1,1.5) |
| 393 | comp_41=`+ flash*saturate(1-smoke/2) + saturate(1-smoke)*q29*(q27==2)*(q28<=2); |
| 394 | comp_42=`//ret = GetPixel(uv0*2)*6; |
| 395 | comp_43=`} |